<style type="text/css">
    p:before {
        content: "before";
    }
    p:after {
        content: "after";
    }
</style>
<p> Aloha! </p>